package com.pojo;

import java.math.BigDecimal;

public class OrderItem {
    private Integer oiId;

    private Integer oId;

    private Integer dId;

    private Integer num;

    private BigDecimal oiSubtotal;

    //根据需求自己添加dish,需要自己添加get和set方法
    private Dish dish;

    public void setDish(Dish dish) {
        this.dish = dish;
    }

    public Dish getDish() {
        return dish;
    }

    public Integer getOiId() {
        return oiId;
    }

    public void setOiId(Integer oiId) {
        this.oiId = oiId;
    }

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public BigDecimal getOiSubtotal() {
        return oiSubtotal;
    }

    public void setOiSubtotal(BigDecimal oiSubtotal) {
        this.oiSubtotal = oiSubtotal;
    }
}